<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
<h:head>
<h:outputStylesheet library="css" name="main.css" />
	
</h:head>
<h:body >
	<h:form>
		<p:panel header="Online Bidding - Login" align="center"
			style="width:400px;height:250px;margin: 100px auto;">
			<p:growl showDetail="false" life="3000" />
			<h:panelGrid columns="2">
				<h:outputLabel value="#{bundle.loginUserName}" />
				<h:inputText value="#{loginMB.email}" label="Email" id="email"
					required="true">
					<f:validateLength minimum="3" />
				</h:inputText>
				<h:outputLabel value="#{bundle.loginPassword}" />
				<h:inputSecret value="#{loginMB.password}" label="Password"
					id="senha" required="true" autocomplete="off">
					<f:validateLength minimum="3" />
				</h:inputSecret>
				<p:commandButton  styleClass="menuButton" action="#{loginMB.login}" value="Log In"
					ajax="false" />
			</h:panelGrid>
		</p:panel>
	</h:form>
</h:body>
</html>